package cn.com.netedge.iot.frontend.biz.dao;

import cn.com.netedge.iot.common.dataobject.DeviceInfo;
import cn.com.netedge.iot.model.log.LogDeviceSetupModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LogDeviceParamSetupMapper {
    LogDeviceSetupModel getLogDeviceSetupPlanById(@Param("planId") int planId);
    List<DeviceInfo> getDeviceInfoListByParaId(@Param("planId") int planId);
    LogDeviceSetupModel getLogDeviceSetupPlanByIdAndDeviceNo(@Param("planId") int planId,@Param("deviceNo") String deviceNo);
    void updateSetupResultByLogId(@Param("logId") int logId,@Param("result") int result);
    void updateSetupStartTimeByLogId(@Param("logId") int logId);
}
